package com.boot.study.consumer;

import com.boot.study.stream.AbstractStreamMessageListener;
import com.boot.study.message.SameasAddMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;




@Component
@Slf4j
public class SameasAddConsumer  extends AbstractStreamMessageListener<SameasAddMessage> {



    @Override
    public void onMessage(SameasAddMessage message) {
        log.info("[onMessage][收到  添加消息]",message.getDatabaseCodeList().toString());

    }
}
